package com.mt.grand.proxy.staticed;

import com.mt.grand.proxy.dto.Person;

public class StaticProxy implements Person {

    private Person person;

    public StaticProxy(Person person){
        this.person = person;
    }

    @Override
    public void findLove() {
        System.out.println("代理：帮你约对象");
        this.person.findLove();
        System.out.println("代理：帮你进行婚介登记");
    }
}